import request from '@/utils/request'

// 查询特殊约定列表
export function listTsyd(query) {
  return request({
    url: '/business/tsyd/list',
    method: 'get',
    params: query
  })
}

// 查询特殊约定详细
export function getTsyd(id) {
  return request({
    url: '/business/tsyd/' + id,
    method: 'get'
  })
}

// 新增特殊约定
export function addTsyd(data) {
  return request({
    url: '/business/tsyd',
    method: 'post',
    data: data
  })
}

// 修改特殊约定
export function updateTsyd(data) {
  return request({
    url: '/business/tsyd',
    method: 'put',
    data: data
  })
}

// 删除特殊约定
export function delTsyd(id) {
  return request({
    url: '/business/tsyd/' + id,
    method: 'delete'
  })
}
